package com.yuanqi.Common.Pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yuanqi.Common.Pojo.common;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_bind")
public class UserBind extends common {
    @TableId(type = IdType.AUTO)
    private Long     id;
    private String    type;
    private String     openid;
    @TableField(value = "user_id")
    private Long     userId;
    @TableField(value = "nickname")
    private String   nickname;
    private String    avatarurl;
}
